// eslint-disable-next-line strict
module.exports = app => {
  app.beforeStart(async () => {
    // 同步数据库
    // 测试时加force: true 每次重启 清空数据库;
    await app.model.sync(/* { force: true } */);
  });
  // eslint-disable-next-line eol-last
};